Optimal. Leaf size=30 \[ \frac {\sqrt {2} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {117}
\begin {gather*} \frac {\sqrt {2} F\left (\left .\text {ArcSin}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 117
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {x} \sqrt {2-b x} \sqrt {2+b x}} \, dx &=\frac {\sqrt {2} F\left (\left .\sin ^{-1}\left (\frac {\sqrt {b} \sqrt {x}}{\sqrt {2}}\right )\right |-1\right )}{\sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.02, size = 26, normalized size = 0.87 \begin {gather*} \sqrt {x} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};\frac {b^2 x^2}{4}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 32, normalized size = 1.07
method | result | size |
default | \(\frac {\EllipticF \left (\frac {\sqrt {2}\, \sqrt {b x +2}}{2}, \frac {\sqrt {2}}{2}\right ) \sqrt {-b x}}{\sqrt {x}\, b}\) | \(32\) |
elliptic | \(\frac {\sqrt {-x \left (b^{2} x^{2}-4\right )}\, \sqrt {2}\, \sqrt {b \left (x +\frac {2}{b}\right )}\, \sqrt {-b \left (x -\frac {2}{b}\right )}\, \sqrt {-2 b x}\, \EllipticF \left (\frac {\sqrt {2}\, \sqrt {b \left (x +\frac {2}{b}\right )}}{2}, \frac {\sqrt {2}}{2}\right )}{2 \sqrt {x}\, \sqrt {-b x +2}\, \sqrt {b x +2}\, b \sqrt {-b^{2} x^{3}+4 x}}\) | \(106\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 95 vs. \(2 (27) = 54\).
time = 11.81, size = 95, normalized size = 3.17 \begin {gather*} \frac {\sqrt {2} i {G_{6, 6}^{5, 3}\left (\begin {matrix} \frac {1}{2}, 1, 1 & \frac {3}{4}, \frac {3}{4}, \frac {5}{4} \\\frac {1}{4}, \frac {1}{2}, \frac {3}{4}, 1, \frac {5}{4} & 0 \end {matrix} \middle | {\frac {4}{b^{2} x^{2}}} \right )}}{8 \pi ^{\frac {3}{2}} \sqrt {b}} - \frac {\sqrt {2} i {G_{6, 6}^{3, 5}\left (\begin {matrix} - \frac {1}{4}, 0, \frac {1}{4}, \frac {1}{2}, \frac {3}{4} & 1 \\0, \frac {1}{2}, 0 & - \frac {1}{4}, \frac {1}{4}, \frac {1}{4} \end {matrix} \middle | {\frac {4 e^{- 2 i \pi }}{b^{2} x^{2}}} \right )}}{8 \pi ^{\frac {3}{2}} \sqrt {b}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {1}{\sqrt {x}\,\sqrt {2-b\,x}\,\sqrt {b\,x+2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________